using System;

namespace PetShop.Web.Entities
{
    [Serializable]
    public class CreditCardInfo
    {
        private string _cardExpiration;
        private string _cardNumber;
        private string _cardType;

        public CreditCardInfo()
        {
        }


        public CreditCardInfo(string cardType, string cardNumber, string cardExpiration)
        {
            _cardType = cardType;
            _cardNumber = cardNumber;
            _cardExpiration = cardExpiration;
        }


        public string CardType
        {
            get { return _cardType; }
            set { _cardType = value; }
        }

        public string CardNumber
        {
            get { return _cardNumber; }
            set { _cardNumber = value; }
        }

        public string CardExpiration
        {
            get { return _cardExpiration; }
            set { _cardExpiration = value; }
        }
    }
}